<div class="code-button-wrapper">
  <button
    type="button"
    class="btn btn-icon btn-link"
    title="Copy to clipboard"
    (click)="copyToClipboard(value)"
  >
    <clr-icon shape="copy-to-clipboard" size="28"></clr-icon>
  </button>
</div>
<pre>
<code>{{value}}</code>
</pre>
